package com.xgzit.xgzmall.search.service;

import com.xgzit.common.dto.es.SkuEsModel;
import org.springframework.stereotype.Service;

import java.io.IOException;
import java.util.List;

/**
 * 商品上架服务
 * @Author xgz
 * @Date 2021-04-15 19:32
 */
public interface ProductSaveService {

    /**
    * 上架商品
    * @param skuEsModels:
    * @return java.lang.Boolean
    * @throws  IOException 可能会有IO异常
    */
    Boolean productStatusUp(List<SkuEsModel> skuEsModels) throws IOException;
}
